package com.kx.ssm.service;

import com.github.pagehelper.PageInfo;
import com.kx.ssm.pojo.User;

public interface UserService {
    PageInfo<User> getUsersByPage(int pageNum, int pageSize);

    User getUserById(Long id);

    void addUser(User user);

    User findUserByNameAndPassword(User user);

    void updateUser(User user);

    void onEvent(User user);
}
